﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.Core.Extensions
{
    public static class IntExtension
    {
        public static TimeSpan TimePlusMinute(this int hour, int minute, int plusMinute)
        {
            TimeSpan ts = new TimeSpan(hour, minute, 0);
            ts = ts + new TimeSpan(0, plusMinute, 0);
            return ts;
        }
    }
}
